package com.wengcheng.user;

import java.io.IOException;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by adengdeng on 2017/8/16
 */
public class UserProvider {

    public static void main(String[] args) throws IOException {

        ClassPathXmlApplicationContext context =
                new ClassPathXmlApplicationContext(new String[] {"META-INF/spring/dubbo-user-provider.xml"});
        context.start();

        System.in.read(); // 按任意键退出
    }
}
